/*
 * Copyright 2009 Gary Brown
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 *
 * Change History:
 * 14 Mar 2009 : Initial version created by gary
 */
package org.betonthemove.platform.betfair;

public class Result {

	public void setHeader(Header h) {
		header = h;
	}
	
	public Header getHeader() {
		return(header);
	}
	
	public void setCurrency(String c) {
		currency = c;
	}
	
	public String getCurrency() {
		return(currency);
	}
	
	public void setErrorCode(String code) {
		errorCode = code;
	}
	
	public String getErrorCode() {
		return(errorCode);
	}
	
	public void setMinorErrorCode(String code) {
		minorErrorCode = code;
	}
	
	public String getMinorErrorCode() {
		return(minorErrorCode);
	}
	
	public void setValidUntil(String vu) {
		validUntil = vu;
	}
	
	public String getValidUntil() {
		return(validUntil);
	}
	
	public double getAvailBalance() {
		return(availBalance);
	}
	
	public double getBalance() {
		return(balance);
	}
	
	public java.util.List<EventTypeItem> getEventTypeItems() {
		return(eventTypeItems);
	}
	
	public String getMarketData() {
		return(marketData);
	}
	
	public MarketItem getMarket() {
		return(market);
	}
	
	public String getCompleteMarketPrices() {
		return(completeMarketPrices);
	}
	
	public java.util.List<BetItem> getBets() {
		return(bets);
	}
	
	public java.util.List<BetResultItem> getBetResults() {
		return(betResults);
	}
	
	private Header header=null;
	private String currency=null;
	private String errorCode=null;
	private String minorErrorCode=null;
	private String validUntil=null;
	private double availBalance=0.0;
	private double balance=0.0;
	private double commissionRetain=0.0;
	private double creditLimit=0.0;
	private int currentBetfairPoints=0;
	private double expoLimit=0.0;
	private double exposure=0.0;
	private int holidaysAvailable=0;
	private double nextDiscount=0.0;
	private double withdrawBalance=0.0;
	private java.util.List<EventTypeItem> eventTypeItems=
				new java.util.Vector<EventTypeItem>();
	private String marketData=null;
	private MarketItem market=null;
	private String completeMarketPrices=null;
	private String currencyCode=null;
	private java.util.List<BetItem> bets=new java.util.Vector<BetItem>();
	private java.util.List<BetResultItem> betResults=new java.util.Vector<BetResultItem>();
	private int totalRecordCount=0;
}
